<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--服务商管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <link rel="stylesheet" href="__STATIC_URL__/static/css/addmchat.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/Statistics.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/member/css/core.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/setlay.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/bootstrap-table/bootstrap-table.css"/>
    <script src="__STATIC_URL__/static/jquery/2.2.1/jquery.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC_URL__/static/layer/layer.js"></script>

</head>
<body>
{include file='public/header'/}
<section id="content">
    <!------------------导航-------------------------->
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading mgl15 mgr15">
            <ol class="breadcrumb">
                <li>当前位置是&nbsp;:</li>
                <li><a href="#">商户管理</a></li>
                <li class="active" style="color: #02b87f;" > 商户进件列表</li>
            </ol>
        </div>

        <div class="panel panel-search panel-default mgl15 mgr15">
            <div class="panel-heading">
                <h3 class="panel-title">
                    筛选分类
                </h3>
            </div>
            <div class="panel-body">
                <form action="" method="get" class="form-horizontal table-search form-search" role="form" id="machform">
                    <div class="col-sm-6 col-md-6 col-lg-4 ">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商户：</label>
                            <div class="col-sm-9">
                                <input type="hidden" name="type" id="type" value="search">

                                <input class="form-control" id="merchName" style=" display: inline-block;" value="" />

                            </div>
                        </div>
                    </div>



                </form>
            </div>

            <div class="panel-footer">
                <a href="javascript:;" class="btn btn-primary" onclick="searchforms()" type="button">查找</a>
                <a href="javascript:;" class="btn btn-default" onclick="clearform()">清空</a>
            </div>
        </div>


        <div class="panel mgl15 mgr15">
            <div class="panel-heading addCharts" style="background:#ededed;">进价列表
                <a href="{:url('momach/machtobank')}" class="btn btn-info"
                   style="float: right;  margin-top: -7px;">商户进件</a>


            </div>
            <div class="panel-body">
                <table class="table table-bordered table-striped" id="tablelist">

                </table>
            </div>
        </div>
        {include file='public/footer'/}
    </div>
</section>
<!-- Modal -->



<script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table.js"></script>
<script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table-zh-CN.js"></script>

</body>
<script src="/agentTable.js?v=2"></script>
<script>

    $(function () {
        var type = "machtobanklist";

        var url = "{:url()}";
        getcolumn(type, url,"tablelist")

    });
    //搜索
    function searchforms() {
        $("#tablelist").bootstrapTable('refresh');
    }

</script>

</html>
